#include <jni.h>
#include <string>
#include <x264.h>

extern "C" JNIEXPORT jstring JNICALL
Java_com_example_videoandaudio_MainActivity_stringFromJNI(
        JNIEnv* env,
        jobject /* this */) {
    std::string hello = "Hello from C++";
 //   x264_encoder_open;
    return env->NewStringUTF(hello.c_str());


}
